<div class="information inform">
	<!--information_inner starts-->
	<div class="question_answers">
		<!--question_answer_header starts-->
		<div class="question_answer_header">
			<!--questions starts-->
			<div class="questions questions1">
				<div class="menu_icon">
					<a href="javascript:void(0)"><img src="<?php echo SKIN_URL_IMAGE; ?>/menu_icon.svg" width="30"></a>
				</div>
				<div class="header_text">
					Zigya
					<br>
					Questions
				</div>
				<div class="clear"></div>
			</div>
			<!--questions closed-->
			<!--answers starts-->
			<div class="answers">
				<!--<div class="edit">
					<a href="javascript:void(0)"><img src="<?php echo SKIN_URL_IMAGE; ?>/edit.png" width="24"></a>
				</div>-->
				<div class="expand">
					<a href="javascript:void(0)"><img src="<?php echo SKIN_URL_IMAGE; ?>/expand.png" width="24"></a>
				</div>
				<div class="expand2">
					<a href="javascript:void(0)"><img src="<?php echo SKIN_URL_IMAGE; ?>/expand.png" width="24"></a>
				</div>
				<div class="clearfix"></div>
			</div>
			<!--answers closed-->
		</div>
		<!--question_answer_header closed-->
		<!--question_answer_body starts-->
		<div class="question_answer_body">
			<div class="go_back-study">
				<a href="<?php echo BASE_URL.'study'; ?>"></a>
			</div>
			<?php $this->load->view('study/expanded_analytic_view.php'); ?>
			<!--questions starts-->
			<div class="questions" id="questions">
				<input type='hidden' id='current_page' />
				<input type='hidden' id='show_per_page' />
				<div id="lista3" class="als-container">
					<div class="als-viewport">
						<div class="als-wrapper">
							<div class="question" id='content'>
								<?php if(isset($questions_by_type) && !empty($questions_by_type)){
									foreach($questions_by_type as $temp)
									{
								?>
								<div class="q1 als-item" style="margin-bottom:25px !important;width:85% !important;">
									<a href="<?php echo BASE_URL.'study/book?class='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['class'])),ENT_QUOTES)).'&board='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['board'])),ENT_QUOTES)).'&subject='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['subject'])),ENT_QUOTES)).'&book='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['book'])),ENT_QUOTES)).'&chapter='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['chapter'])),ENT_QUOTES)).'&q_type='.urlencode(htmlspecialchars(strip_tags(@$temp['question_type']),ENT_QUOTES)).'&q_topic='.urlencode(htmlspecialchars(strip_tags(strtolower(@$temp['question_topic'])),ENT_QUOTES)).'&question_id='.urlencode(htmlspecialchars(strip_tags(@$temp['question_mcq_seq_id']),ENT_QUOTES)); ?>" 
									style='<?php if(isset($_GET['question_id']) && $_GET['question_id']!='' && $_GET['question_id'] == @$temp['question_mcq_seq_id'])echo 'color:#7f8083';else echo 'color:#999999'; ?>;text-decoration:none;'>
										<?php echo $temp['question_description']; ?>
									</a>
								</div>
								<?php }} else{ echo 'No record found';}?>
								<div class="clearfix"></div>
							</div>
						</div>
					</div>
					<!--<span class="als-prev"><img src="<?php echo SKIN_URL_IMAGE; ?>/up-arrow.png" alt="prev" title="previous" /></span>
					<span class="als-next" style="left:10px;"><img src="<?php echo SKIN_URL_IMAGE; ?>/down-arrow.png" alt="next" title="next" /></span>-->
				</div>
				<div class="clearfix"></div>
				<?php echo $pagination;?>
				<!--<?php if(isset($questions_by_type) && $questions_by_type != 'no result') {?>
					<div id='page_navigation'>
						<a class="previous_link" href="javascript:previous();"><img src="<?php echo SKIN_URL_IMAGE; ?>/right-arrow1.png"></a>
						<?php if(isset($q_count_all) && !empty($q_count_all)){
							$pagi = ceil(count($q_count_all)/5);
							for($i=1;$i<=$pagi;$i++){
						?>
							<a href="<?php echo BASE_URL.'study/book?'.$_SERVER['QUERY_STRING'];?>&page=<?php echo $i; ?>"><?php echo $i; ?></a>
						<?php }}?>
						<a class="previous_link" href="javascript:previous();"><img src="<?php echo SKIN_URL_IMAGE; ?>/left-arrow1.png"></a>
					</div>
				<?php }?>-->
			</div>
			<!--questions closed-->
			
			<!--answers starts-->
			<div class="answers2">
				<div class="answer">
					<div id="demo">
						<section id="examples">
							<!-- content -->
							<div id="content-9" class="content vertical-images">
								<p class="als-item" style="margin: 0;padding:0;">
									<?php if(isset($anwswers_by_type) && !empty($anwswers_by_type)) {
										if (@$anwswers_by_type != 'no result') {
											if ($_GET['q_type'] == "LAT" || $_GET['q_type'] == "SAT" || $_GET['q_type'] == "OWA") {
												if (@$anwswers_by_type[0]['question_answer_description']) {
													echo $anwswers_by_type[0]['question_answer_description'];
												}
											} else if ($_GET['q_type'] == "MCQ" || $_GET['q_type'] == "TOF" || $_GET['q_type'] == "SEQ") {
												$ans = array_values($anwswers_by_type[0]);
												for ($i = 9; $i < count($ans); $i++) {
													if ($ans[$i] != "") {
														echo "(" . ($i - 8) . ")" . $ans[$i] . '<br>';
													} else {
														echo "";
													}
												}
											} else if ($_GET['q_type'] == "FIB" || $_GET['q_type'] == "MTF") {
												$ans = array_values($anwswers_by_type[0]);
												for ($i = 9; $i < count($ans); $i++) {
													if ($ans[$i] != "") {
														echo "(" . ($i - 8) . ")" . $ans[$i] . '<br>';
													} else {
														echo "";
													}
												}
											}
										} else {
											echo "No record found";
										}
									}else {
											echo "No record found";
										}?>
								</p>
							</div>

							<div id="mCSB_1_scrollbar_vertical" class="mCSB_scrollTools mCSB_1_scrollbar mCS-rounded-dark mCSB_scrollTools_vertical mCSB_scrollTools_onDrag_expand" style="display: block;">
								<a href="#" class="mCSB_buttonUp" oncontextmenu="return false;" style="display: block !important;"></a>
								<div class="mCSB_draggerContainer">
									<div id="mCSB_1_dragger_vertical" class="mCSB_dragger" style="position: absolute; min-height: 14px; display: block; top: 0px;" oncontextmenu="return false;">
										<div class="mCSB_dragger_bar"></div>
									</div><div class="mCSB_draggerRail"></div>
								</div><a href="#" class="mCSB_buttonDown" oncontextmenu="return false;" style="display: block;"></a>
							</div>
						</section>
					</div>
				</div>
				<?php 
					if(isset($member_data) && $member_data['logedin']){ $this -> load -> view('study/que_bar_log.php');}
					else{ $this -> load -> view('study/que_bar.php'); } 
				?>
				<div class="clearfix"></div>
			</div>
			<!--answers closed-->
			<div class="answers3">
				<div class="answer">
					<div id="demo">
						<section id="examples">
							<!-- content -->
							<div id="content-10" class="content vertical-images">
								<div style="margin-bottom:25px;">
									<?php if(isset($questions_by_type) && !empty($questions_by_type)){
									foreach($questions_by_type as $temp)
									{
									if(isset($_GET['question_id']) && $_GET['question_id']!='' && $_GET['question_id'] == @$temp['question_mcq_seq_id']){
								?>
								<div class="q1 als-item" style="margin-bottom:25px !important;width:85% !important;">
									<a href="<?php echo BASE_URL.'study/book?class='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['class'])),ENT_QUOTES)).'&board='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['board'])),ENT_QUOTES)).'&subject='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['subject'])),ENT_QUOTES)).'&book='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['book'])),ENT_QUOTES)).'&chapter='.urlencode(htmlspecialchars(strip_tags(strtolower($_GET['chapter'])),ENT_QUOTES)).'&q_type='.urlencode(htmlspecialchars(strip_tags(@$temp['question_type']),ENT_QUOTES)).'&q_topic='.urlencode(htmlspecialchars(strip_tags(strtolower(@$temp['question_topic'])),ENT_QUOTES)).'&question_id='.urlencode(htmlspecialchars(strip_tags(@$temp['question_mcq_seq_id']),ENT_QUOTES)); ?>" 
									style='<?php if(isset($_GET['question_id']) && $_GET['question_id']!='' && $_GET['question_id'] == @$temp['question_mcq_seq_id'])echo 'color:#7f8083';else echo 'color:#999999'; ?>;text-decoration:none;'>
										<?php echo $temp['question_description']; ?>
									</a>
								</div>
								<?php }}}?>
								</div>
								<div class="clearfix"></div>
								<p class="als-item" style="margin: 0;padding:0;">
									<?php if(isset($anwswers_by_type) && !empty($anwswers_by_type)) {
										if (@$anwswers_by_type != 'no result') {
											if ($_GET['q_type'] == "LAT" || $_GET['q_type'] == "SAT" || $_GET['q_type'] == "OWA") {
												if (@$anwswers_by_type[0]['question_answer_description']) {
													echo $anwswers_by_type[0]['question_answer_description'];
												}
											} else if ($_GET['q_type'] == "MCQ" || $_GET['q_type'] == "TOF" || $_GET['q_type'] == "SEQ") {
												$ans = array_values($anwswers_by_type[0]);
												for ($i = 9; $i < count($ans); $i++) {
													if ($ans[$i] != "") {
														echo "(" . ($i - 8) . ")" . $ans[$i] . '<br>';
													} else {
														echo "";
													}
												}
											} else if ($_GET['q_type'] == "FIB" || $_GET['q_type'] == "MTF") {
												$ans = array_values($anwswers_by_type[0]);
												for ($i = 9; $i < count($ans); $i++) {
													if ($ans[$i] != "") {
														echo "(" . ($i - 8) . ")" . $ans[$i] . '<br>';
													} else {
														echo "";
													}
												}
											}
										} else {
											echo "No record found";
										}
									}?>
								</p>
							</div>
							<div id="mCSB_2_scrollbar_vertical" class="mCSB_scrollTools mCSB_2_scrollbar mCS-rounded-dark mCSB_scrollTools_vertical mCSB_scrollTools_onDrag_expand" style="display: block;">
								<a href="javascript:void(0)" class="mCSB_buttonUp" oncontextmenu="return false;" style="display: block; bottom: 9px;right: 500px;"></a>
								<div class="mCSB_draggerContainer">
									<div id="mCSB_2_dragger_vertical" class="mCSB_dragger" style="position: absolute; min-height: 14px; top: 0px; display: block;" oncontextmenu="return false;">
										<div class="mCSB_dragger_bar"></div>
									</div><div class="mCSB_draggerRail"></div>
								</div><a href="javascript:void(0)" class="mCSB_buttonDown" oncontextmenu="return false;" style="display: block; bottom:9px; right: 482px;"></a>
							</div>
						</section>
					</div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
		<!--question_answer_body closed-->
	</div>
	<!--information_inner closed-->
	<!--information_nav starts-->
	<div class="information_nav visible-lg visible-md custom-information-nav">
		<ul>
			<li>
				<a href="javascript:void(0)">
				<svg id="Layer_1" x="0px" y="0px" width="30px" height="93px" viewBox="0 0 19.473 59.494" >
					<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="-557.9998" y1="2226.7471" x2="-538.5281" y2="2226.7471" gradientTransform="matrix(1 0 0 -1 558 2256.4941)">
						<stop  offset="0.3768" style="stop-color:#29ABE2"/>
						<stop  offset="0.8528" style="stop-color:#127DC2"/>
					</linearGradient>
					<path fill="url(#SVGID_2_)" d="M0,0c0,13.752,19.472,11.883,19.472,23.693c0,21.174,0-5.025,0,12.106
					C19.473,46.633,0,45.742,0,59.494V0z"/>
				</svg> </a>
			</li>
			<li>
				<a href="javascript:void(0)">
				<svg version="1.1" id="Layer_2" x="0px" y="0px"
				width="30px" height="93px" viewBox="0 0 19.473 59.494" enable-background="new 0 0 19.473 59.494" xml:space="preserve">
					<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="-557.9998" y1="2226.7471" x2="-538.5271" y2="2226.7471" gradientTransform="matrix(1 0 0 -1 558 2256.4941)">
						<stop  offset="0.3768" style="stop-color:#D5DF38"/>
						<stop  offset="0.5531" style="stop-color:#D3DE38"/>
						<stop  offset="0.687" style="stop-color:#CADB39"/>
						<stop  offset="0.8068" style="stop-color:#BAD53B"/>
						<stop  offset="0.9178" style="stop-color:#A4CD3D"/>
						<stop  offset="0.968" style="stop-color:#98C93E"/>
					</linearGradient>
					<path fill="url(#SVGID_3_)" d="M0,0.001c0,13.752,19.473,11.883,19.473,23.693c0,21.172,0-5.025,0,12.104
					C19.473,46.632,0,45.743,0,59.493V0.001z"/>
				</svg> </a>
			</li>
			<li>
				<a href="javascript:void(0)">
				<svg version="1.1" id="Layer_3" x="0px" y="0px"
				width="30px" height="93px" viewBox="0 0 19.473 59.494" enable-background="new 0 0 19.473 59.494" xml:space="preserve">
					<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-557.9998" y1="2226.7471" x2="-538.5271" y2="2226.7471" gradientTransform="matrix(1 0 0 -1 558 2256.4941)">
						<stop  offset="0.3768" style="stop-color:#EB195E"/>
						<stop  offset="0.5285" style="stop-color:#E41A5D"/>
						<stop  offset="0.6438" style="stop-color:#D61C59"/>
						<stop  offset="0.7469" style="stop-color:#C21E55"/>
						<stop  offset="0.843" style="stop-color:#A71F4E"/>
						<stop  offset="0.9334" style="stop-color:#881E45"/>
						<stop  offset="0.968" style="stop-color:#7A1C41"/>
					</linearGradient>
					<path fill="url(#SVGID_1_)" d="M0,0c0,13.752,19.473,11.885,19.473,23.695c0,21.172,0-5.025,0,12.104
					C19.473,46.633,0,45.742,0,59.494V0z"/>
				</svg> </a>
			</li>
		</ul>
	</div>
	<!--information_nav closed-->
	<div class="clear"></div>
</div>